How To Avoid Ai Legal Risks & Secure Software Development With Defensive Design & Security By Design